package com.rf.richfitwheel.workflow.feignclient;

import com.rf.richfitwheel.admin.sys.model.OrgVO;
import com.rf.richfitwheel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author hushouquan
 * @description TODO
 * @date 2023/3/8
 */
@FeignClient(name="RICHFITWHEEL-ADMIN-SERVER/sys/msgStream")
public interface SysMsgStreamFeignService{
    
    @PostMapping("/sendMsgToChildrenOrgRole")
    public R sendMsgToChildrenOrgRole(@RequestBody OrgRoles orgRoles);
}
